package com.example.cloud.alibaba.seata.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cloud.alibaba.seata.account.entity.TAccount;
import com.example.cloud.alibaba.seata.common.dto.AccountDTO;
import com.example.cloud.alibaba.seata.common.utils.SimpleMessage;


/**
 * <p>
 *  服务类
 * </p>
 *
 * * @author lidong
 * @since 2019-09-04
 */
public interface ITAccountService extends IService<TAccount> {

    /**
     *  扣用户钱
     * @param accountDTO
     * @return
     */
    SimpleMessage decreaseAccount(AccountDTO accountDTO);
}
